package com.itcast.homework02.work03;

/*
运动员： 属性：学员编号、姓名、性别、年龄、所在班级 行为：吃饭(吃营养餐)
*/
public class sportsman extends Persoin {
    private String inClass;

    public sportsman() {

    }

    public sportsman(String id, String name, String sex, String age, String behavior, String inClass) {
        super(id, name, sex, age, behavior);
        this.inClass = inClass;
    }

    public String getInClass() {
        return inClass;
    }

    public void setInClass(String inClass) {
        this.inClass = inClass;
    }
}
